﻿@model MvcApplication4.Models.User

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>@(User.Identity.Name)'s Details</h2>


<fieldset class="display-window">
    <legend>Account Information</legend>
        <div class="display-item" style="margin-top: 10px">
            <div class="display-label">
                 @Html.DisplayNameFor(model => model.UserName)
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.UserName)
            </div>
        </div>
        <div class="display-item">
            <div class="display-label">
                 @Html.DisplayNameFor(model => model.Password)
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.Password)
            </div>
        </div>
        <div class="display-item">
            <div class="display-label">
                 @Html.DisplayNameFor(model => model.First_Name)
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.First_Name)
            </div>
        </div>
        <div class="display-item">
            <div class="display-label">
                 @Html.DisplayNameFor(model => model.Last_Name)
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.Last_Name)
            </div>
        </div>
        <div class="display-item">
            <div class="display-label">
                 @Html.DisplayNameFor(model => model.Email)
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.Email)
            </div>
        </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.UserId }) |
    @Html.ActionLink("Back to List", "Index")
</p>
